package com.sykj.manage.service.imp;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sykj.manage.dao.BisCustomDao;
import com.sykj.manage.service.BisCouponSerivce;
import com.sykj.manage.model.BisCustomUser;
import com.sykj.manage.model.BisShop;
import com.sykj.manage.model.BisShopCustom;
@Service
public class BisCouponServiceImp implements BisCouponSerivce{

	@Autowired
	BisCustomDao bisCustomDao;

	

	@Override
	public List<BisShop> getshopnames(BisShop bisShop) {
		// TODO Auto-generated method stub
		return bisCustomDao.getshopnames(bisShop);
	}

	@Override
	public List<BisShopCustom> getrecenttimes(BisShopCustom bisShopCustom) {
		// TODO Auto-generated method stub
		return bisCustomDao.getrecenttimes(bisShopCustom);
	}

	@Override
	public List<BisCustomUser> getenrollmodes(BisCustomUser bisCustomUser) {
		// TODO Auto-generated method stub
		return bisCustomDao.getenrollmodes(bisCustomUser);
	}

	@Override
	public List<BisShopCustom> getall(Map paramMaps) {
		// TODO Auto-generated method stub
		return bisCustomDao.getall(paramMaps);
	}

	@Override
	public int add(BisCustomUser bisCustomUser) {
		return bisCustomDao.add(bisCustomUser);
	}

	@Override
	public int deleteType(String custom_user_id) {
		// TODO Auto-generated method stub
		return bisCustomDao.deleteType(custom_user_id);
	}

	@Override
	public int updateType(BisCustomUser bisCustomUser) {
		// TODO Auto-generated method stub
		return bisCustomDao.updateType(bisCustomUser);
	}

	@Override
	public BisCustomUser findByTypeId(String custom_user_id) {
		// TODO Auto-generated method stub
		return bisCustomDao.findByTypeId(custom_user_id);
	}

	@Override
	public int addshopcustom(BisShopCustom bisShopCustom) {
		// TODO Auto-generated method stub
		return bisCustomDao.addshopcustom(bisShopCustom);
	}

	@Override
	public BisCustomUser findCustomerById(String custom_user_id) {
		// TODO Auto-generated method stub
		return bisCustomDao.findCustomerById(custom_user_id);
	}

	
	


}
